package cn.raven.pet.service;

import cn.raven.pet.domain.Pet;
import cn.raven.basic.service.IBaseService;
import cn.raven.pet.domain.PetDetail;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Raven
 * @since 2022-07-16
 */
public interface IPetService extends IBaseService<Pet> {
    //宠物上架
    void onsale(List<Long> ids);
    //宠物下架
    void offsale(List<Long> ids);

    PetDetail findByPetId(Long id);
    //回显宠物详情
}
